# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xmltoman
pkgver=0.6
pkgrel=1
pkgdesc="convert xml to man pages in groff format or html"
options="!check" # No testsuite
url="https://github.com/atsb/xmltoman"
arch="noarch"
license="GPL-2.0-or-later"
depends="perl-xml-parser"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/atsb/xmltoman/archive/$pkgver.tar.gz"

build() {
	make
}

package() {
	make install prefix=/usr DESTDIR="$pkgdir"
}

sha512sums="f2b0689ca37212253eaa127c3a2c299facac7c3909991b8872da0adf0fbb34aa02c32144c485135c06c17b1ac5e5753d627969e97ae4938e6dcee9ddbd79582d  xmltoman-0.6.tar.gz"
